package com.cssl.openFeign;

import com.cssl.domain.dto.DtsissueDto;
import com.cssl.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "DtsShopProvider9090",path = "/issue",contextId = "19")
public interface DstissueClient {
    @PostMapping("/list")
    Result dtsissuelist(@RequestBody DtsissueDto dtsissueDto);
    @DeleteMapping("/delete")
    Result issuedelete(@RequestParam("ids") String ids);

    @PostMapping("/updateissue")
    Result updateissue(@RequestBody Map updateissue);

    @PostMapping("/addissue")
    Result addissue(@RequestBody Map addissue);
}
